package com.fmc123.shop.entity ;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.fmc123.base.pesistence.BaseEntity;
/**
 * 
 * @desc    receiver
 * @date    2015/11/14
 */
@Entity
@Table(name = "receiver" )
public class Receiver extends BaseEntity {
    
    private static final long serialVersionUID = 1L;

    @Column(name = "NAME" ,length = 50 ,nullable = false)  
    private String name ;
    
    @Column(name = "PHONE" ,length = 20 ,nullable = false)  
    private String phone ;
    
    @Column(name = "ADDRESS" ,length = 255)  
    private String address ;
    public void setName (String name){
        this.name = name ;
    }
    public String getName (){
        return this.name ;
    }
     
    public void setPhone (String phone){
        this.phone = phone ;
    }
    public String getPhone (){
        return this.phone ;
    }
     
    public void setAddress (String address){
        this.address = address ;
    }
    public String getAddress (){
        return this.address ;
    }
     
}